package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService extends IService<Student> {
    /**
     * 学员列表查询
     * @param student
     * @return
     */
    PageResult<Student> findAll(StudentQueryParam student);

    /**
     * 违纪处理
     * @param id
     * @param score
     */
    void updateStudent(Integer id, Integer score);
}
